﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GovRoleEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-09
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
	/// <summary>
	///角色数据实体  
	/// </summary>
    [PrimaryKey("RoleID")]
	public class GovRole
	{
		///<summary>
		///角色
		///</summary>
		public GovRole()
		{
		}	
    
		
		///<summary>
		///RoleID
		///</summary>
        [Column("RoleID","RoleID")]
        public int RoleID { get; set; }

		///<summary>
		///角色类别
		///</summary>
        [Column("RoleTypeID","角色类别")]
        public int RoleTypeID { get; set; }

		///<summary>
		///角色名称
		///</summary>
        [Column("RoleName","角色名称")]
        public string RoleName { get; set; }

		///<summary>
		///备注
		///</summary>
        [Column("Remark","备注")]
        public string Remark { get; set; }

		///<summary>
		///数据有效标记
		///</summary>
        [Column("IsActive","数据有效标记")]
        public short IsActive { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedTime","创建时间")]
        public DateTime CreatedTime { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdatedTime","更新时间")]
        public DateTime UpdatedTime { get; set; }

	}
}